<!--
  To change this template, choose Tools | Templates
  and open the template in the editor.
-->

<%@ page contentType="text/html;charset=UTF-8" %>

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Sample title</title>
  </head>
  <body>
    <h1>Edit Account Information</h1>
    
    <g:form name="editMemberForm" controller="customer" action="updateMemberDetails">
      
      <h4>Account Details</h4>
      User Name: ${customer.username}<br/>
      Password: <input type="text" name="password"/><br/>
      New Password: <input type="text" name="newpassword"/><br/>
      Confirm Password: <input type="text" name="confirmpassword"/><br/>
      
      <h4>Personal Details</h4>
      Name: ${customer.lastName}&nbsp;${customer.firstName}<br/>
      Birthdate: ${birthdate}<br/> 
      
      <h4>Contact Details</h4>
      Blk/House No.: <input type="text" name="blkHouseNo" value="${customer.blkHouseNo}"/><br/>
      Street Name: <input type="text" name="streetName" value="${customer.streetName}"/><br/>
      Country: <g:select name="country" from="${countries.countryName}"/><br/>
      Postal Code: <input type="text" name="postalCode" value="${customer.postalCode}"/><br/>
      
      Tel No.: <input type="text" name="telNo" value="${customer.telNo}"/><br/>
      
      <input type="submit" value="Update"/>
      
    </g:form>
  </body>
</html>
